#ifndef _ZIASERVERWIN_H_
#define _ZIASERVERWIN_H_

#include <winsock2.h>
#include <windows.h>
#include <iostream>

#define	PORT	80
#define BUFLEN	10
class	ZiaServerWin
{
public :
	ZiaServerWin();
	~ZiaServerWin();
	
	void		LaunchServ();
	void		CloseConnection();

private :
	int			ConfigNListen();
	int			SelectLoop();
	int			NewCliSocket(fd_set *StaticRFdSet, int max);
	std::string	IncomingMsg(int checkSock, fd_set *StaticRFdSet, int *max);

	int			_servSock;
};

#endif 